<template>
    <div class="customSelect">
        <el-checkbox-group v-model="formData[eleData.key]">
            <el-checkbox   v-for="item in eleData.option"
                        :key="item.value"
                        :label="item.value">{{item.label}}</el-checkbox>
        </el-checkbox-group>
    </div>
</template>
<script lang="ts">
    import {defineComponent, ref} from 'vue';

    export default defineComponent({
        name: 'customcheckbox',
        props:{
            eleData:{
                type:Object
            },
            formData:{
                type: Object
            }
        },
        setup() {
            return {};
        },
    });
</script>
